﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Windows.Forms.VisualStyles;

namespace System.Windows.Forms;

public partial class DataGridViewHeaderCell
{
    private static class DataGridViewHeaderCellRenderer
    {
        private static VisualStyleRenderer? s_visualStyleRenderer;

        public static VisualStyleRenderer VisualStyleRenderer
        {
            get
            {
                s_visualStyleRenderer ??= new VisualStyleRenderer(VisualStyleElement.Header.Item.Normal);

                return s_visualStyleRenderer;
            }
        }
    }
}
